package com.caozhen.manage.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.caozhen.manage.entity.User;
import com.caozhen.manage.mapper.UserMapper;

@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;
	
	public User findUserByName(String userName) {
		return userMapper.findUserByName(userName);
	}

}
